<template>
  <div>
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="#1989fa">
      <van-swipe-item v-for="item in banner" :key="item.id">
        <img :src="item.image_url" alt="" width="100%"
      /></van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {
    props:["banner"],
  data() {
    return {};
  },
};
</script>
 
<style lang = "less" scoped>
</style>